package com.smart.campus.interfaces;

import com.smart.campus.dto.ProtectiveGuidanceManagement;
import com.smart.campus.dto.ShCheck;
import com.smart.campus.pojo.PagedResponse;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @BelongsProject: smart-campus
 * @BelongsPackage: com.smart.campus.interfaces
 * @Author: 戴冰洁
 * @CreateTime: 2024-10-08  14:02
 * @Description: TODO
 * @Version: 1.0
 */
public interface ShCheckServiceApi {
    @RequestMapping(value = "shcheck/findshcheck")
    public List<ShCheck> findshcheck();
    @RequestMapping(value = "shcheck/addshcheck")
    public void addshcheck(@RequestBody ShCheck shCheck);
    @RequestMapping(value = "shcheck/deleteshcheck")
    public void deleteshcheck(@RequestParam(value = "id") Integer id);
    @RequestMapping(value = "shcheck/shcheckList")
    public ShCheck shcheckList(@RequestParam(value = "id") Integer id);
    @RequestMapping(value = "shcheck/updateshcheck")
    public void updateshcheck(@RequestBody ShCheck shCheck);

    @RequestMapping(value = "shcheck/pageShChenck")
    public PagedResponse<ShCheck> pageShChenck(@RequestBody ShCheck shCheck,@RequestParam(value = "pageNum")Integer pageNUm,@RequestParam(value = "pageSize")Integer pageSize);
}
